<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>Styled To-Do List</title>
    <link rel="stylesheet" href="styles.css">
</head>

<body>
    <div class="container">
        <h1>My To-Do List</h1>
        <ul class="todo-list">
            <li>
                <input type="checkbox" name="task1" id="task1">
                <label for="task1">Get up and have breakfast.</label>
                <ul class="sub-item">
                    <li><a href="#" target="_blank" class="sub-item-link">Menu</a></li>
                </ul>
            </li>
            <li>
                <input type="checkbox" name="task2" id="task2">
                <label for="task2">Coding on freeCodeCamp.</label>
                <ul class="sub-item">
                    <li><a href="#" target="_blank" class="sub-item-link">freeCodeCamp</a></li>
                </ul>
            </li>
            <li>
                <input type="checkbox" name="task3" id="task3">
                <label for="task3">Cook and have lunch.</label>
                <ul class="sub-item">
                    <li><a href="#" target="_blank" class="sub-item-link">Lunch menu</a></li>
                </ul>
            </li>
            <li>
                <input type="checkbox" name="task4" id="task4">
                <label for="task4">Take a nap and listen some music.</label>
                <ul class="sub-item">
                    <li><a href="#" target="_blank" class="sub-item-link">Music</a></li>
                </ul>
            </li>
        </ul>
    </div>

</body>

</html>